<!--# layout("/common/layout.html",{"jsBase":"/js/cms/coreCompany/"}){ -->

<form class="layui-form layui-form-pane" id="addForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">公司名称</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input"  lay-verify="required">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">联系人</label>
				<div class="layui-input-inline">
					<input type="text" name="linkman" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">联系电话</label>
				<div class="layui-input-inline">
					<input type="text" name="mobile" class="layui-input" lay-verify="phone">
				</div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">证件有效期</label>
                <div class="layui-input-inline">
                    <input type="text" name="youxiaoqi" class="layui-input input-date" readonly  lay-verify="required">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <label class="layui-form-label">营业执照</label>
        <!-- 业务对象得有一个字段保存附件id，假设是attachmentId  -->
        <layui:attachment name="yingyezhizhao" batchFileUUID="${uuid()}"  bizType="CoreCompany" isNew="true"  />
    </div>
    <div class="layui-row">
        <label class="layui-form-label">防雷检测资质</label>
        <!-- 业务对象得有一个字段保存附件id，假设是attachmentId  -->
        <layui:attachment name="zizhi" batchFileUUID="${uuid()}"  bizType="CoreCompany" isNew="true"  />
    </div>
    <layui:submitButtons id="addButton" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
    var coreCompanyAdd = layui.add
    coreCompanyAdd.init();
});
</script>
